﻿<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>欢迎页面</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<link rel="stylesheet" type="text/css" th:href="@{css/style.css}"/>
<link rel="stylesheet" type="text/css" th:href="@{css/nav.css}"/>
<body>
<div class="admin_memu" th:fragment="nav">
    <ul id="nav">
        <li><a href="#" onclick="clickNav(this);return false;" class="parent" id="1"><h5><strong>用户功能</strong></h5></a>
            <ul id="opt_1" class="child_area">
                <li class="last"><a th:href="@{/process/list}"
                                    target="mainFrame"><h6>申请查看</h6></a></li>
                <li class="last"><a th:href="@{/process/listTask}" target="mainFrame"><h6>
                    我的任务</h6></a></li>
                <li class="last"><a th:href="@{/vacation/vacation}" target="mainFrame"><h6>请假</h6></a></li>
                <li class="last"><a th:href="@{/finance/expenseAccount}" target="mainFrame"><h6>报捎</h6></a></li>
                <li class="last"><a th:href="@{/salary/salaryAdjust}" target="mainFrame"><h6>薪资调整</h6></a></li>
            </ul>
        </li>

        <li><a href="#" onclick="clickNav(this);return false;" class="parent" id="15"><h5><strong>管理员功能</strong></h5>
        </a>
            <ul id="opt_15" class="child_area">
                <li class="last"><a th:href="@{/group/list}" target="mainFrame"><h6>用户组管理</h6></a></li>
                <li class="last"><a th:href="@{/user/list}" target="mainFrame"><h6>用户管理</h6></a></li>
                <li class="last"><a th:href="@{/processDefinition/list}" target="mainFrame"><h6>流程定义 </h6></a></li>
            </ul>
        </li>
    </ul>
</div>

</body>
<script>

    window.onload = function () {

    };

    function clickNav(a) {
        var childUl = document.getElementById("opt_" + a.id);
        if (childUl.style.display == "block" || childUl.style.display == "") {
            childUl.style.display = "none";
        } else {
            childUl.style.display = "block";
        }
    }

</script>
</html>
